package com.example.ebeanbase.response;

//@ApiModel
public class BaseRet<T> {

//	@ApiModelProperty(value = "执行结果{0:失败,1:成功,11:超时,22:token为空,23:token错误}", required = true)
	private String code;

//	@ApiModelProperty(value = "通知消息", required = false)
	private String msg;

//	@ApiModelProperty(value = "返回数据", required = false)
	private T data;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
